<template>
  <div class="qunstate">
    <div class="title">群简介</div>
    <div class="qs">
      <a :href="intro.link || '#'">
        <p>{{ intro.text }}</p>
      </a>
    </div>
  </div>
</template>

<script>
export default {
  name: 'GroupIntro',
  props: {
    intro: {
      type: Object,
      required: true
    }
  }
}
</script>

<style scoped>
.title {
  font-size: 1.32rem;
  color: #1c1f31;
  margin-top: 0.96rem;
  border-top: 1px solid #f0f0f0;
  padding-top: 1rem;
}
.qs {
  font-size: 1.1rem;
  line-height: 1.8rem;
  margin-top: 0.5rem;
}
.qs a {
  color: #aeaeae;
}
.qs p {
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.15rem;
  color: #7e7e7e;
}
</style>
